import request from "@/utils/request";


export const getEmployeeListApi = () => request.get("/admin/coash/list")

export const addEmployeeApi = (data) => request.post("/admin/coash/save", data)

export const updateEmployeeApi = (data) => request.put("/admin/coash/update", data)

export const deleteEmployeeApi = (id) => request.delete(`/admin/coash/delete/${id}`)

export const getEmployeeByIdApi = (id) => request.get(`/admin/coash/getById?id=${id}`)
